package com.ynu.wanli.Business.order.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuBin
 * @since 2023-03-07
 */
@Getter
@Setter
@TableName("user_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单主键
     */
    @TableId(value = "orderId", type = IdType.AUTO)
    private Integer orderId;

    /**
     * 订单联系人
     */
    private Long orderDriver;

    /**
     * 出发时间
     */
    private LocalDateTime orderStartTime;

    /**
     * 订单车牌
     */
    private String orderCard;

    /**
     * 到达时间
     */
    private LocalDateTime orderEndTime;

    /**
     * 一等座
     */
    private Integer orderViPSite;

    /**
     * 二等座
     */
    private Integer orderOrdinary;

    /**
     * 无座
     */
    private Integer orderNoSite;

    /**
     * 订单创建时间
     */
    private Date orderInsertTime;

    /**
     * 订单更新时间
     */
    private Date orderUpdateTime;
    private int orderState=1;


}
